﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using MDT.LifeSewagePlatform.Conmmon;
using MDT.LifeSewagePlatform.Entity;


namespace MDT.LifeSewagePlatform.IRepository
{
    public interface IDrugRepository: IBaseRepository<DrugEntity>
    {
        public IQueryable<DrugUnion> GetDrugDto(Expression<Func<DrugUnion,bool>> expression);
        public IQueryable<DrugView> GroupByDrug(IQueryable<DrugUnion> drugUnion);
        public  Task<List<DrugReport>> GroupDrug(IQueryable<DrugUnion> drugUnion);

        public IQueryable<MonitoringSiteView> GetMonitoringSites(Expression<Func<UnionMonitorSite, bool>> expression);
    }
}
